package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;
import org.jsola.hr.example.EmpContractExample;

import static org.jsola.hr.example.EmpContractExample.*;
import static org.jsola.hr.example.EmpInfoExample.*;
import static org.jsola.hr.example.EmpInfoExample.N_NAME;
import static org.jsola.hr.example.EmpInfoExample.E_NAME;
import static org.jsola.hr.example.EmpPaperContractExample.N_TIME_LIMIT;
import static org.jsola.hr.example.EmpContractExample.N_NAME;
import static org.jsola.hr.example.EmpContractExample.E_NAME;

/**
 * 员工合同信息
 *
 * @author ds
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【员工合同信息】姓名 电话 期限")
@Data
public class EmpContractInfoVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "员工id" )
    private String id;

    @ApiModelProperty(notes = EmpContractExample.N_NAME, example = EmpContractExample.E_NAME)
    private String name;

    @ApiModelProperty(notes = N_PHONE, example = E_PHONE)
    private String phone;

    @ApiModelProperty(notes = N_END_TIME, example = E_END_TIME)
    private String endTime;

    @ApiModelProperty(notes = N_TIME_LIMIT, example = E_END_TIME)
    private Integer timeLimit;

    @ApiModelProperty(notes = "合同期限字符串")
    private String timeLimitStr;

    @ApiModelProperty(notes = N_TYPE, example = E_TYPE)
    private String type;

    @ApiModelProperty(notes = "身份证")
    private String idCard;


}

